package com.sixth.service;

import com.sixth.entity.Role;
import com.sixth.util.CommonResult;
import com.sixth.util.LayTab;
import com.sixth.util.TableLayUi;

public interface RoleService {
    //查询全部角色
    TableLayUi AllRole(int page, int limit);

    //修改或者增加
    CommonResult addOrUpdate(Role role);

    //获取所有权限信息
    TableLayUi findRoleByPage(int page, int limit);
    //根据id删除
    CommonResult delById(Integer roleid);
}
